package com.resolution.dietaryassessment.view.chronic;

import android.os.Bundle;
import android.widget.Button;

import androidx.annotation.Nullable;

import com.resolution.dietaryassessment.BaseActivity;
import com.resolution.dietaryassessment.R;
import com.resolution.dietaryassessment.listener.MyListener;

/**
 *  @author By Resolusion
 *  @Title: ChronicDiseaseActivity
 *  慢性病指导
 *  @Date: 2020/1/8
 *  @Time: 13:36
 *  @email res01ution@foxmail.com
 */
public class ChronicDiseaseActivity extends BaseActivity {

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_chronic_disease);
        initView();
    }

    public void initView() {
        Button mDietary,mTcm,mLeave,mStart;
        mDietary = findViewById(R.id.my_dietary);
        mTcm = findViewById(R.id.tcm_btn);
        mLeave = findViewById(R.id.leave_btn);
        mStart = findViewById(R.id.star_btn);

        mStart.setOnClickListener(new MyListener(this));
        mDietary.setOnClickListener(new MyListener(this));
        mTcm.setOnClickListener(new MyListener(this));
        mLeave.setOnClickListener(new MyListener(this));
    }
}
